
$(function(){
     // 菜单
	$(".gochannels").on("touchstart",function(e){
		$(".gochannels").addClass("on");
    $(".z_menuOpen,.y_lucency").show();
	});
	$(".y_lucency").on("touchstart",function(e){
        $(".gochannels").removeClass("on");
        $(".z_menuOpen,.y_lucency").hide();
	});
     // 幻灯片
	 var bannerSwiper = new Swiper('.z_banner .swiper-container', {
        slidesPerView: 'auto',
        centeredSlides: true,
        paginationClickable: true,
        spaceBetween: 20,
        loop: true,
        pagination: {
            el: '.swiper-pagination',
        }
    });

   
 // 滚动新闻
    var announcementSwiper = new Swiper('#announcement', {
        direction: 'vertical',
		loop: true,
        autoplay: {
            delay: 3000,
            disableOnInteraction: false
        }
    })

})